<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<% String path = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath(); %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="'" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<script type="text/javascript"
src="<%=path%>/common/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript">
	var path = '<%=path%>';
</script>
<script type="text/javascript" src="<%=path%>/js/listVip.js"></script>
<link rel="stylesheet" type="text/css" href="<%=path %>/css/listVip.css">
</head>
<body>
	<table>
		<!--表头  -->
		<thead>
			<tr>
				<td>行号</td>
				<td>用户名</td>
				<td>积分</td>
				<td>电话</td>
				<td>身份证号码</td>
				<td>注册日期</td>
				<td>生日</td>
				<td>操作</td>
			</tr>
		</thead>
		<!-- 表身体 -->
		<tbody>
			<c:forEach items="${listVip}" var="user" varStatus="status">
				<tr <c:if test="${status.index % 2 == 0}">class="one"</c:if>
					<c:if test="${status.index % 2 != 0}">class="two"</c:if>>
					<td>${status.index + 1 }</td>
					<td>${user.clientName }</td>
					<td>${user.integration }</td>
					<td>${user.phoneNum }</td>
					<td>${user.idCard }</td>
					<td>${user.date }</td>
					<td>${user.birthday }</td>
					<td><a href="<%=path %>/userServlet?method=selectVipOne&idCard=${user.idCard}">修改</a> <a href="javascript:void(0)" data-idCard="${user.idCard  }" class="delete">删除</a></td>
				</tr>
			</c:forEach>
		</tbody>

	</table>
</body>
</html>